package cn.lrl.consumeropenfeign80;

import cn.lrl.api.clients.UserClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableEurekaClient //开启Eureka 客户端
// feign客户端注解,并指定要扫描的包以及配置接口UserClient
@EnableFeignClients(basePackages = "cn.lrl.api.clients")
public class ConsumerOpenFeign80Application {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerOpenFeign80Application.class, args);
    }

}
